import type { IModalConfig } from '@/components/page-modal/type'

const modalConfig: IModalConfig = {
  pageName: 'department',
  header: {
    newTitle: '新建部门',
    editTitle: '编辑部门'
  },
  formItems: [
    // initialValue 可以设置初始化值
    { type: 'input', label: '部门名称', prop: 'name', pleholder: '请输入部门名称' },
    { type: 'input', label: '部门领导', prop: 'leader', pleholder: '请输入部门领导' },
    {
      type: 'select', label: '上级部门', prop: 'parentId', pleholder: '请输入上级部门', options: []
    },
  ]
}
export default modalConfig